<#macro active index>
  <#if index == navIndex>class="active"</#if>
</#macro>
<nav class="navbar navbar-default navbar-static-top">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="//${env.hostName}">Hasor</a>
		</div>
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li <@active index=0/>><a href="//${env.hostName}/projects">Product</a></li>
				<li><a target="_blank" href="${ctx_path}/docs/hasor/guide/">开发手册</a></li>
				<!--
				<li <@active index=1/>><a href="//apis.hasor.net/docs/index.htm">Docs</a></li>
				<li <@active index=3/>><a href="//${env.hostName}/history/">History</a></li>
				<li <@active index=4/>><a href="//${env.hostName}/faq/">FAQ</a></li>
				<li <@active index=5/>><a href="//${env.hostName}/join/">Join</a></li>
				-->
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<!--<li <@active index=6/>><a href="//${env.hostName}/admins/index.htm">Admin</a></li>-->
				<li <@active index=7/>><#include "/control/nav_login.htm"/></li>
				<li <@active index=8/>><a href="#"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> 关于</a></li>
			</ul>
		</div>
		<!--/.nav-collapse -->
	</div>
</nav>